package com.learn.project2.service.admin.storage;

import com.learn.project2.model.bo.admin.storage.StorageDeleteBO;
import com.learn.project2.model.bo.admin.storage.StorageUpdateBO;
import com.learn.project2.model.vo.admin.storage.StorageCreateVO;
import com.learn.project2.model.vo.admin.storage.StorageListVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * @Classname StorageService
 * @Description
 * @author王茁
 * @Date 2022/1/7 17:09
 */
public interface StorageService {
    StorageListVO list(Integer page, Integer limit, Integer key, String name, String sort, String order);

    StorageCreateVO create(MultipartFile file,String host);


    StorageUpdateBO update(StorageUpdateBO storageUpdateBO);

    int delete(StorageDeleteBO storageDeleteBO);
}
